<?php
/**
 * @link https://gitee.com/toshcn/micro-hau
 * @copyright Copyright (c) 2022/4/15 micro-hau
 * @author toshcn <toshcn@foxmail.com>
 */

namespace console\controllers;

use yii\console\Controller;
use yii\console\ExitCode;

/**
 * Class IniController
 * @package console\controllers
 */
class IniController extends Controller
{
    /**
     * Test action is IniController test function.
     * @return int
     */
    public function actionTest()
    {
        echo "Begin init !\n";
        sleep(1);
        echo "End init !\n";
        return ExitCode::OK;
    }
}